package com.jerei.crm.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.Objects;

public class FollowCustomer implements Serializable {
    private static final long serialVersionUID = 2058428774833682333L;
    private Integer id;
    private String content;
    private Date time;
    private Integer cid;
    private Integer uid;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        FollowCustomer that = (FollowCustomer) o;
        return id.equals(that.id);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id);
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    @Override
    public String toString() {
        return "FollowCustomer{" +
                "id=" + id +
                ", content='" + content + '\'' +
                ", time=" + time +
                ", cid=" + cid +
                ", uid=" + uid +
                '}';
    }
}
